body {
    height: 100%;
    width: 100%;
    min-width: 1280px;
    /* min-height: 600px; */
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-size: 1.7vh;
    color: #ffffff;
}

// 滚动条样式
::-webkit-scrollbar {
    width: 6px;
    /*高宽分别对应横竖滚动条的尺寸*/
    height: 6px;
    border-radius: 0.5vw;
    // background: #0bd164 !important;
}

/*滚动条里面小方块*/
::-webkit-scrollbar-thumb {
    border-radius: 0.5vw;
    background-color: #277cdd;
}

/*滚动条里面轨道*/
::-webkit-scrollbar-track {
    background: #7c7c7c;
    border-radius: 0.5vw;
}

/*滚动条里面交叉圆角*/
::-webkit-scrollbar-corner {
    background: #7c7c7c;
}

.main {
    width: 100%;
    height: 100%;
    // background: url("~@/assets/image/mainBg.png") left / 100% 160% no-repeat;
    background-color: #fff;
    font-family: DeepSeek-CJK-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Noto Sans, Ubuntu, Cantarell, Helvetica Neue, Oxygen, Open Sans, sans-serif;
    display: flex;
    flex-direction: column;

    .main-header {
        width: 100%;
        height: 80px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 20px;
        box-sizing: border-box;

        .header-logo {
            width: 150px;
            height: 40px;
            // background: url("~@/assets/image/logo.png") left / 100% 100% no-repeat;
            background: #fff url("~@/assets/image/nanning-logo.png") left / 100% 100% no-repeat

        }

        .header-time {
            display: flex;
            align-items: center;
            height: 10.4vh;

            .timeLeft {
                height: 6.2vh;
                box-sizing: border-box;
                color: #ffffff;
                display: flex;
                align-items: center;
                justify-content: center;
                font-size: 4vh;
                font-family: unidreamLED;
            }


            .timebox {
                height: 5.5vh;
                display: flex;
                flex-direction: column;
                justify-content: space-between;
                align-items: center;
                padding-left: 20px;
                box-sizing: border-box;

                .top {
                    font-size: 1.481481481vh;
                    color: #80beff;
                }

                .bottom {
                    flex: 1;
                    display: flex;
                    align-items: center;
                    justify-content: center;

                    .weekday {
                        font-size: 1.296296296vh;
                        background: #2e78ff;
                        border-radius: 2px;
                        color: #ffffff;
                        padding: 0.15rem 0.6rem;
                    }

                    .time {
                        text-align: center;
                        font-size: 1.481481481vh;
                        columns: #80beff;
                    }
                }
            }
        }
    }

    .main-content {
        width: 100%;
        flex: 1;
        display: flex;
        background-color: #F2F2F2;
        .memu-nav {
            width: 220px;
            height: 100vh;
            background-color: #F9FBFF;
            padding-top: 10px;
            box-sizing: border-box;
            position: relative;
            .el-menu-nav {
                border: none;
                margin-bottom: 12px;
                background: transparent;


                .el-submenu__icon-arrow::before {
                    content: "";
                }

                .el-submenu__title {
                    width: 200px;
                    height: 50px;
                    text-align: left;
                    i {
                        // font-size: 1.25vw;
                        vertical-align: middle;
                    }

                    &:hover {
                        background: transparent;
                        i {
                            color: #3AAFE0;
                        }
                    }
                    .menu-div {

                        color: rgb(38 38 38);
                        // background: url("~@/assets/image/menuBg.png") left / 100% 100% no-repeat;
                        width: 180px;
                        height: 40px;
                        display: flex;
                        align-items: center;
                        padding-left: 20px;
                        box-sizing: border-box;
                        font-size: 16px;
                        gap: 2px;
                        border-radius: 6px;
                        background-color: #fff;

                        .memu-label {
                            font-size: 14px;
                        }
                        &:hover {
                            color: #4d6bfe;
               
                            i {
                                color: #4d6bfe;
                            }
                        }
                    }

                    .menu-div-active {
                        color: #4d6bfe;
                        background-color: #e5f3ff;
                        position: relative;

                        i {
                            color: #4d6bfe;
                        }

                    }
                }
            }
        }

        .mainContent {
            flex: 1;
            height: 100%;
        }
    }
}
.markBg{
    // 禁止复制
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.mainStyle {
    width: 100%;
    height: calc(100vh);
    display: flex;
    gap: 2px;
    padding: 0 0 12px 0;
    box-sizing: border-box;
 
    .contentLeft {
        width: 250px;
        height: 100vh;
        // background: #041047;
        background-color: #fff;
        display: flex;
        flex-direction: column;

        .topTitle {
            width: 100%;
            height: 50px;
            // background: url("~@/assets/image/titleBg.png") left / 100% 100% no-repeat;
            box-sizing: border-box;
            display: flex;
            justify-content: center;
            // font-size: 1.25vw;
            color: #5993ff;
            line-height: 50px;
            position: relative;
            background-color: #e5f3ff;
            font-size: 16px;
            .text {}

            .plus {
                position: absolute;
                cursor: pointer;
                right: 0.5vw;
                font-size: 18px;
                top: 50%;
                color: #666;
                margin-top: -1.5vw;
            }

        }

        .bottomTree {
            width: 100%;
            // flex: 1;
            overflow-x: hidden;
            overflow-y: auto;
            box-sizing: border-box;
            box-sizing: border-box;
            height: calc(100vh - 60px);
            background-color: #fff;
            .item {
                width: 100%;
                min-height: 4.45vh;
                position: relative;
                color: #666;
                background-color: #e5f3ff;
                // background: linear-gradient(90deg, rgba(58, 175, 224, 0) 0%, rgba(58, 175, 224, 0.17) 36%, rgba(58, 175, 224, 0) 100%);
                // font-size: 1.09375vw;
                cursor: pointer;
                padding: 6px 10px;
                box-sizing: border-box;
                display: flex;
                align-items: center;
                margin-top: 8px;
                color: #3AAFE0;

                .plus {
                    position: absolute;
                    cursor: pointer;
                    right: 24px;
                    font-size: 14px;
                    top: 10px;
                    margin-top:0px;
                    color: #666;
                    font-size: 18px;

                }
                .long-upload{
                    font-size: 12px;
                    background-color: #2451b9;
                    color: #fff;
             
                  display: block;
                  width: 100%;
                  text-align: center;
                  padding: 6px 0;
                  margin: 4px 0;
                }
                .plus2 {
                    position: absolute;
                    cursor: pointer;
                    top: 13px;
                    right: 12px;
                    font-size: 14px;
                    color: #666;

                }

                .labelText {
                    padding: 0 4px;
                    font-size: 14px;
                }

                &.active {
                    color: #4b62e9;
                }

                .labelText:hover {
                    color: #4b62e9;
                }
            }

            .allCheck .el-checkbox {
                display: flex;
                min-height: 3vh;
                padding-top: 0.2rem;
                box-sizing: border-box;

                &:hover {
                    .el-checkbox__label {
                        color: #3AAFE0;
                    }
                }

                &.is-checked {
                    .el-checkbox__label {
                        color: #3AAFE0;
                    }
                }

                .el-checkbox__input {
                    line-height: 1.3;

                    .el-checkbox__inner {
                        vertical-align: middle;
                    }
                }

                .el-checkbox__label {
                    color: #ffffff;
                    display: flex;
                    align-items: flex-start;
                    font-size: 0.9vw;

                    .el-icon-folder::before {
                        line-height: 1.3;
                        margin-right: 0.2rem;
                    }

                    .text {
                        white-space: normal;
                        /* 允许自动换行 */
                        word-break: break-word;
                        /* 在单词内换行 */
                        display: block;
                        /* 将标签变为块级元素 */
                    }

                }
            }

            .listItem {
                width: 100%;
                min-height: 3vh;
                position: relative;
                color: #666;
                cursor: pointer;
                padding: 4px 0 4px 10px;
                box-sizing: border-box;
                display: flex;
                flex-direction: column;
                background-color: #fff;
                font-size: 14px;
                .hide-text{
                    width: 160px;
                    display: inline-block;
                    overflow: hidden;
                    white-space: nowrap;
                    text-overflow: ellipsis;
                }
                &.active,
                &:hover {
                    color: #3AAFE0;
                }

                .el-checkbox {
                    display: flex;

                    &:hover {
                        .el-checkbox__label {
                            color: #3AAFE0;
                        }
                    }

                    &.is-checked {
                        .el-checkbox__label {
                            color: #3AAFE0;
                        }
                    }

                    .el-checkbox__input {
                        line-height: 1.3;

                        .el-checkbox__inner {
                            vertical-align: middle;
                        }
                    }

                    .el-checkbox__label {
                        color: #ffffff;
                        display: flex;
                        align-items: flex-start;
                        font-size: 0.9vw;

                        .el-icon-document::before {
                            line-height: 1.5;
                            margin-right: 0.2rem;
                        }

                        .text {
                            white-space: normal;
                            /* 允许自动换行 */
                            word-break: break-word;
                            /* 在单词内换行 */
                            display: block;
                            /* 将标签变为块级元素 */
                        }
                    }
                }
            }

            .fileBox {
                width: 100%;
                position: relative;
                color: #ffffff;
                cursor: pointer;
                padding: 0 0 1.5vh 1vw;
                box-sizing: border-box;
                max-height: 24vh;
                overflow-y: auto;

                .el-checkbox {
                    display: flex;

                    &:hover {
                        .el-checkbox__label {
                            color: #3AAFE0;
                        }
                    }

                    &.is-checked {
                        .el-checkbox__label {
                            color: #3AAFE0;
                        }
                    }

                    .el-checkbox__input {
                        line-height: 1.3;

                        .el-checkbox__inner {
                            vertical-align: middle;
                        }
                    }

                    .el-checkbox__label {
                        color: #ffffff;
                        display: flex;
                        align-items: flex-start;
                        font-size: 0.7vw;

                        .el-icon-document::before {
                            line-height: 1.5;
                            margin-right: 0.2rem;
                        }

                        .text {
                            white-space: normal;
                            /* 允许自动换行 */
                            word-break: break-word;
                            /* 在单词内换行 */
                            display: block;
                            /* 将标签变为块级元素 */
                        }
                    }
                }
            }
        }
    }

    .contentRight {
        flex: 1;
        height: 100%;
        // background: url("~@/assets/image/chatBg.png") left / 100% 100% no-repeat;
    }
    .contentRight-2{
        display: block;
        width: 100%;
        color: #666;
        background-color: #Fff;
        min-height: 200px;
        // background: url("~@/assets/image/chatBg.png") left / 100% 100% no-repeat;
        padding-bottom: 20px;
    }
    .columnFlex {
        display: flex;
        flex-direction: column;
        padding: 30px;
        box-sizing: border-box;

        .chatBox {
            width: 100%;
            flex: 1;
            max-height: calc(100vh - 380px);
            margin-bottom: 130px;
            overflow-y: auto;
            box-sizing: border-box;

            &::-webkit-scrollbar {
                width: 0px !important;
                /*高宽分别对应横竖滚动条的尺寸*/
                height: 0px !important;
                border-radius: 0.5vw !important;
            }

            .leftBox {
                width: 61%;
                position: relative;
                box-sizing: border-box;
                display: flex;
                gap: 12px;

                .userIcon {
               
                    width:40px;
                    height: 40px;
                    display: block;
                    background-color: #fff;
                    border-radius: 50%;
                }

                .score {
                    box-sizing: border-box;
                    cursor: pointer;
                    position: absolute;
                    bottom: 16px;
                    right: 1vw;
                    margin:0;
                    &:hover {
                        background: rgba(58, 175, 224, 0.8);

                    }
                    .chatScore {
                        margin-right: 2px;
                    }
                }
                .score {
                    box-sizing: border-box;
                    cursor: pointer;
                    position: absolute;
                    bottom: 16px;
                    right: 20px;
                    margin:0;
                    &:hover {
                        background: rgba(58, 175, 224, 0.8);

                    }
                    .chatScore {
                        margin-right: 2px;
                    }
                }
                .score2 {
                    box-sizing: border-box;
                    cursor: pointer;
                    position: absolute;
                    bottom: 16px;
                    right: 120px;
                    margin:0;
                    &:hover {
                        background: rgba(58, 175, 224, 0.8);
                    }
                    .chatScore {
                        margin-right: 2px;
                    }
                }
            }

            .rightBox {
                width: 61%;
                box-sizing: border-box;
                position: relative;
                float: right;
                display: flex;
                gap: 12px;

                .userIcon {
                    vertical-align: middle;
                    width: 40px;
                    height: 40px;

                }
            }

            .leftBox .msgtext,
            .rightBox .msgtext {
                width: 100%;
                min-height: 6.6vh;
               
                border-radius: 10px;
                
                padding: 24px;
                margin-bottom: 12px;
                box-sizing: border-box;
                display: block;
                align-items: center;
                word-wrap: break-word;
                white-space: pre-wrap;
                color: #666;
                line-height: 24px;
                font-size: 14px;
                background-color: #fff;
            }
        }

        .chatInput {
            width: 100%;
            height: 90px;
            display: flex;
            align-items: center;
            gap: 12px;
            position: relative;

            .searchResult {
                position: absolute;
                width: calc(100% - 66px);
                height: 400px;
                top: -375px;
                left: 0;
                box-sizing: border-box;
                box-shadow: inset 0px 0px 22px 2px rgba(46, 120, 247, 0.5);
                border-top-left-radius: 6px;
                border-top-right-radius: 6px;
                background: #1640A4;

                .searchResultbox {
                    width: 100%;
                    padding: 0 12px;
                    height: 400px;
                    box-sizing: border-box;
                    overflow-y: auto;

                    .fileItem {
                        height: 30px;
                        text-underline-offset: 6px;
                        line-height: 30px;
                        color: #ffffff;
                        text-decoration: underline;
                        display: flex;
                        padding: 0 6px;
                        box-sizing: border-box;
                        align-items: center;

                        span {
                            cursor: pointer;
                        }
                    }
                }
            }

            .sendBtn {
                height: 30px;
                line-height: 30px;
                padding: 0 12px;
                position: absolute;
                right: 20px;
            }

            .el-input {
                background: transparent;
            }

            .el-input__inner {
                background-color: #Fff;
                height:60px;
                padding-right: 200px;
            }
        }
    }

    .centerFlex {
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #fff;
        box-sizing: border-box;
        margin: 0 0 10px 0;
    }
}

.warn-detail-bg {
    .el-rate {
        margin-top: 10px;
    }

    .el-dialog {
        // background: url('~@/assets/image/line-icon/dialog_bg.png') left / 100% 100% no-repeat!important;
        // background: url("~@/assets/image/line-icon/dialog-body_bg.png") left / 100% 100% no-repeat !important;
        background: rgba(3, 24, 72, 1) !important;

        box-shadow: inset 0px 0px 50px 20px rgba(37, 97, 207, 0.49);
        border: #2e78ff 1px solid;

        .el-dialog__header {
            padding: 0 !important;
            height: 4vh !important;
            line-height: 4vh !important;
            background: #2e78ff;
        }

        .el-dialog__body {
            background: none;
        }

        .el-dialog__title {
            font-size: 1rem;
            color: #ffffff;
            font-weight: bold;
            padding-left: 4rem;
        }
    }

    // 表单的label
    .el-form-item__label {
        color: #ffffff;
    }

    /*下拉框-input*/
    .el-input__inner,
    .el-input--small .el-input__inner {
        font-size: 14px;

        height: 3vh;
        line-height: 3vh;
        padding: 0 1.3vw;
        background: rgba(112, 171, 255, 0.2);
        border: 0;
        color: #ffffff;
    }

    .el-textarea__inner {
        font-size: 14px;

        height: 7vh;
        line-height: 1.2;
        // padding: 0 1.3vw;
        background: rgba(112, 171, 255, 0.2);
        border: 0;
        color: #ffffff;
    }

    .el-input--small .el-input__icon {
        line-height: 3vh;
    }

    .fault-dialog-body {
        color: #ffffff;
    }

    .headerIcon {
        position: absolute;
        top: 0;
        width: 3.125vw;
        height: 4vh;
        background: #5993ff;
        border-radius: 4px 4px 0px 0px;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1000;
        left: 0;
        color: #ffffff;
        font-size: 24px;

        img {
            width: 1.25vw;
            height: 1.25vw;
        }
    }
}

.el-dialog__footer {
    // padding: 0 0.8vw;
    // background: #2b2e33;
    background: transparent;

    .dialog-footer {
        background: transparent;
    }
}

//弹窗底部样式
.dialog-footer {
    height: 5.3vh;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.el-dialog__headerbtn {
    // top: 8px;

    .el-dialog__close {
        // color: #fff;
        font-size: 24px;

        &:hover {
            // color: #fff;
            opacity: 0.8;
        }
    }
}



.upload-demo {
    .el-upload-dragger {
        background-color: transparent !important;
        width: 4rem !important;
        height: 4rem !important;
        border: 1px solid #5993ff;
        margin-top: 5px;

        .el-icon-plus {
            font-size: 2rem;
            margin: 0;
            line-height: 4rem;
            color: #5993ff;
        }
    }

    .el-upload-list__item-name {
        color: #bdbdbd;
    }

    .el-upload-list__item:hover {
        background: #031848;
    }
}

.el-upload-list__item {
    transition: none !important;
    -webkit-transition: nonne !important;
}

.el-upload-list__item-name {
    transition: none !important;
    -webkit-transition: nonne !important;
}

.markBg {
    background: #ffffff;
    max-height: 700px;
    overflow-y: auto;
}

.mdbox {
    width: 100%;
    padding: 12px;
    box-sizing: border-box;
    position: relative;

    &::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200"><text x="20" y="50" font-family="Arial" font-size="30" fill="rgba(0, 0, 0, 0.3)" transform="rotate(345 150 50)">交控科技</text></svg>');
        background-repeat: repeat;
        background-size: 200px 200px;
        /* 调整背景大小以控制间距 */
        pointer-events: none;
        /* 确保水印不影响交互 */
        z-index: 1;
    }
}

.imgviewer {
    width: 100%;
    padding: 12px;
    box-sizing: border-box;
    position: relative;

    img {
        width: 96%;
        height: auto;
        margin: 0 auto;
        display: flex;
        justify-content: center;
    }

    &:after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200"><text x="20" y="50" font-family="Arial" font-size="30" fill="rgba(0, 0, 0, 0.3)" transform="rotate(345 150 50)">交控科技</text></svg>');
        background-repeat: repeat;
        background-size: 200px 200px;
        /* 调整背景大小以控制间距 */
        pointer-events: none;
        /* 确保水印不影响交互 */
        z-index: 1;
    }
}

.canvasBox {
    position: absolute;
    background: transparent;
    top: 0;
    left: 0;
    z-index: 0;
}

.mdviewer img {
    width: 90%;
    max-width: 90%;
}

.el-loading-mask {
    background: rgba(255, 255, 255, 0.1);
}

.contentContainer{
    display: block;
    width: 100%;
    padding: 10px 10px 0 10px;
}
.pos-line{

    color: #277cdd;
    padding-left: 20px;
    font-size: 14px;

}
.checkbox-container{
    display: inline-block;
}
.search-inp{
    width: 200px;
    margin-top: 20px;
    margin-left: 44px;
    margin-right: 4px;
}
.file-ul{
    list-style: none;
    padding: 20px;
    margin: 0 20px;
    width: calc(100% - 60px);
    max-height: 460px;
    overflow-y: auto;
    li{
        line-height: 40px;
        font-size: 14px;
        width: 600px;
        display: inline-block;
        cursor: pointer;
        padding: 0 8px;
        
    }
    li:hover{
        background-color: #277cdd;
        color: #fff;
        .fl-btn{
            display: block;
        }
    }
    .fl-btn{
        float: right;
        display: none;
        font-size: 12px;
    }
}
.listItem-2{
    line-height: 30px;
    font-size: 14px;
}
.del-btn{
    float: right;
    margin-right: 10px;
    font-size: 20px;
}
.text-line{
    text-decoration: underline;
}